package com.directv.z8training.ex8;

import java.util.Comparator;

/**
 * @author HieuLT8
 *
 */
public class CompareName implements Comparator<Person1> {

	@Override
	public int compare(Person1 o1, Person1 o2) {
		return o2.name.compareToIgnoreCase(o1.name);
	}
	
}
